// Environment
const IS_RELEASE = false;
const BASR_URL_TEST = "https://wxmishang-test-api.guoguodz.com";
const BASR_URL_RELEASE = "https://ticketapi.guoguodz.com";
const BASE_URL_DEV_TEST = BASR_URL_TEST + "/v1"; // Test Develop
// const BASE_URL_DEV_TEST = "http://ticket-test-api.guoguodz.com/v2/api/" // Test Develop
const BASE_URL_RELEASE = BASR_URL_RELEASE + "/v1"; // Release
const SECRET_KEY_DEV_TEST = "xJLj0sb71w78sdf045";
const SECRET_KEY_RELEASE = "xJLj0sb71w78sdf045";
const LOOP = true;
const IFTRUE = !IS_RELEASE;

const BASE_URL = IS_RELEASE ? BASE_URL_RELEASE : BASE_URL_DEV_TEST;
const SECRET_KEY = IS_RELEASE ? SECRET_KEY_RELEASE : SECRET_KEY_DEV_TEST;

const KEY_USER = 'USER';
const KEY_SECRET = 'SECRET';
const KEY_SESSION_ID = 'SESSION_ID';

const LOAD_STATUS = {
	more: 'more',
	loading: 'loading',
	noMore: 'noMore'
};
const LOAD_TEXTS = {
	contentdown: '上拉加载更多',
	contentrefresh: '加载中',
	contentnomore: '没有更多~'
};

const IS_VERIFY = {
	
};

//弹窗显示的位置
const C_POP_DIRECTIONS = {
	center: "center", //正中间
	centerTop: "centerTop", //中间往上一点的位置
	bottom: "bottom", //最底部
}

const CONTENT_STATUS = {
	EMPTY: {
		value: "empty",
		icon: "../../static/icon_no_data.webp",
		tip: "暂无内容~"
	},
	ERROE: {
		value: "error",
		icon: "../../static/com_icon_error.png",
		tip: "服务器开小差，请稍后再试~"
	}
}

export default {
	// KEY
	KEY_USER,
	KEY_SECRET,
	KEY_SESSION_ID,
	SECRET_KEY,
	BASE_URL,
	CONTENT_STATUS,
	LOAD_STATUS,
	LOAD_TEXTS,
	LOOP,
	IS_VERIFY,
	C_POP_DIRECTIONS,
}